package com.maixy.studyonlineapi.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.maixy.studyonlineapi.entity.ActivityContent;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ClassName ActivityContentMapper
 * @Description TODO
 * @Date 2020/11/29 17:23
 * @Author maixy
 */
@Mapper
public interface ActivityContentMapper extends BaseMapper<ActivityContent> {
    List<ActivityContent> getMyActivityContentList(@Param("activityId") Long activityId, @Param("activityContentSearch") String activityContentSearch,
                                                   @Param("contentLevel") Integer contentLevel, @Param("contentType") Integer contentType,
                                                   @Param("beginIndex") Integer beginIndex, @Param("pageSize") Integer pageSize);
}
